<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,
    user-scalable=no,maximum-scale=1,minimum-scale=1">
    <title>黑马</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <!-- 引入swiper -->
    <link rel="stylesheet" href="css/swiper.min.css">
</head>

<body>
    <!-- 第一部分 -->
    <section class="one">
        <!-- 头部区域 -->
        <header class="header">黑马</header>
        <!-- 头部导航栏部分 -->
        <nav>
            <a href="">
                <img src="icons/icon1.png" alt="">
                <p>HR面试</p>
            </a>
            <a href="">
                <img src="icons/icon2.png" alt="">
                <p>HR面试</p>
            </a>
            <a href="">
                <img src="icons/icon3.png" alt="">
                <p>HR面试</p>
            </a>
            <a href="">
                <img src="icons/icon4.png" alt="">
                <p>HR面试</p>
            </a>
            <a href="">
                <img src="icons/icon5.png" alt="">
                <p>HR面试</p>
            </a>
            <a href="">
                <img src="icons/icon6.png" alt="">
                <p>HR面试</p>
            </a>
        </nav>
        <!-- go部分 -->
        <section class="go">
            <img src="images/go.png" alt="">
        </section>
    </section>

    <!-- 第二部分 -->
    <section class="two">
        <div class="nav2">
            <span1>
                <img src="icons/i2.png" alt="">
                <span>就业指导</span>
            </span1>
            <span2>更多>></span2>
        </div>

        <!-- 轮播图 -->
        <div class="get-job">
            <!-- Swiper -->
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="images/pic.png" alt="">
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/ldh.jpg" alt="">
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/3.jpg" alt="">
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <!-- <div class="swiper-slide">Slide 2</div>
                    <div class="swiper-slide">Slide 3</div>
                    <div class="swiper-slide">Slide 4</div>
                    <div class="swiper-slide">Slide 5</div>
                    <div class="swiper-slide">Slide 6</div>
                    <div class="swiper-slide">Slide 7</div>
                    <div class="swiper-slide">Slide 8</div>
                    <div class="swiper-slide">Slide 9</div>
                    <div class="swiper-slide">Slide 10</div> -->
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>


            </div>
            <!-- 添加箭头 -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </section>

    <section class="three">
        <div class="nav2">
            <span1>
                <img src="icons/i1.png" alt="">
                <span>充电学习</span>
            </span1>
            <span2>更多>></span2>
        </div>

        <!-- 轮播图 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper mySwiper swper-study">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="images/pic1.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic2.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic1.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic2.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic1.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic2.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic1.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic2.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                    <div class="swiper-slide"> 
                        <img src="images/pic1.png" alt="">
                        <p>低调学习英语，告别中式英语</p>
                        <p><span>156</span>人学习</p>
                    </div>
                </div>
                <div class="swiper-pagination"></div>
            </div>

        </div>
    </section>
    <!--------------------- 最底面的导航栏 ------------------------->
    <section class="last">
        <nav class="nav-footer">
            <a href="#" class="anv">
                <img src="icons/home.png" alt="">
                <p>主页</p>
            </a>
            <a href="#">
                <img src="icons/net.png" alt="">
                <p>技术面试</p>
            </a>
            <a href="#">
                <img src="icons/ms.png" alt="">
                <p>模拟面试</p>
            </a>
            <a href="#">
                <img src="icons/user.png" alt="">
                <p>我的主页</p>
            </a>
        </nav>
    </section>

    <!-- js--------------------------------------------- -->
    <script src="js/flexible.js"></script>
    <!-- 引入swiper的js -->
    <script src="js/swiper.min.js"></script>
    <!-- 底部导航栏 -->
    <!-- Initialize Swiper -->
    <script>
        // 第一个函数里面是就业指导轮播图
        (function () {
            // 这里面的变量属于局部变量
            var swiper = new Swiper('.swiper-container', {
                // 能够显示的个数
                slidesPerView: 3,
                // 每一个slide之间的距离
                spaceBetween: 30,
                // 最大的是否在中间显示
                centeredSlides: true,
                loop: true,
                // 分页器
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },

                // 添加左右箭头
                navigation: {
                    nextEl: ".swiper-button-next",
                    prevEl: ".swiper-button-prev",
                },
            });
        })();
        // 函数和函数之间需要加；

            // 第二个轮播图
            (function () {
                var swiper = new Swiper(".swper-study", {
                    slidesPerView: 2.6,
                    spaceBetween: 20,
                    // pagination: {
                    //     el: ".swiper-pagination",
                    //     clickable: true,
                    // },
                });
            })()


    </script>

</body>

</html>